Version

Dialog(String,String,String,String,String,Nullable<DialogState>) Method

Helper to configure and render igDialog widget, which supports persistence of state, size, zIndex and position after postback.

That allows to set initial values for persisting properties of dialog.
Syntax
'Declaration
 
Public Overloads Function Dialog( _
   ByVal contentID As System.String, _
   ByVal persistenceInputName As System.String, _
   ByVal initialPosition As System.String, _
   ByVal initialWidth As System.String, _
   ByVal initialHeight As System.String, _
   ByVal initialState As System.Nullable(Of DialogState) _
) As DialogWrapper
public DialogWrapper Dialog( 
   System.string contentID,
   System.string persistenceInputName,
   System.string initialPosition,
   System.string initialWidth,
   System.string initialHeight,
   System.Nullable<DialogState> initialState
)

Parameters

contentID
Setter for the ContentID property. The id of html element which is used as content for the dialog.
persistenceInputName
The name of hidden INPUT, which will enable persistence from client
initialPosition
Initial value for position (left, top corner) of dialog on screen. Example: "[200, 300]"
initialWidth
Initial width of dialog
initialHeight
Initial height of dialog
initialState
Initial state of dialog
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub